<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>后盾问答</title>
	<meta name="keywords" content="后盾问答"/>
	<meta name="description" content="后盾问答"/>
	<link rel="stylesheet" href="{label $smarty.const.__PUBLIC__}/Css/common.css" />
	<script type="text/javascript" src='{label $smarty.const.__PUBLIC__}/Js/jquery-1.7.2.min.js'></script>
	<script type="text/javascript" src='{label $smarty.const.__PUBLIC__}/Js/top-bar.js'></script>
	<link rel="stylesheet" href="{label $smarty.const.__PUBLIC__}/Css/member.css" />
	<script type="text/javascript" src='{label $smarty.const.__PUBLIC__}/Js/member.js'></script>
</head>
<body>
	<!-- top -->
	{label include file="../index/header.html"}
<!-- top结束 -->
<!--------------------中部-------------------->
	<div id='center'>
<!-- 左侧 -->
{label include file="../index/left.html"}
<!-- 左侧结束 -->
		<div id='right'>
			<p class='title'>我的回答</p>
			<ul class='ask-filter'>
				<li class='cur'>全部回答</li>
				<li>被采纳的回答</li>
			</ul>
			<div class='list list-filter '>
				<table>
					{label if $searchUserInfo.answer<1}
						<tr height='140'>
							<td>你还没有回答过问题</td>
						</tr>
					{label /if}

							{label if $searchUserInfo.answer>0}
					  	<tr>
							<th class='t1'>标题</th>
							<th>回答</th>
							<th class='t3'>更新时间</th>
						</tr>
							{label foreach from= $searchUserAnswerInfo item = answer}

						<tr>
							<td class='t1'>
								<a href="{label $smarty.const.__APP__}?c=show&cid={label $answer.cid}&asid={label $answer.asid}">{label $answer.content}</a><span>[{label $answer.title}]</span>
							</td>
							<td>{label $answer.answer}</td>
							<td class='t3'>{label $answer.time|date_format:"%Y/%m/%e"}</td>
						</tr>
						{label /foreach}
						{label /if}
				</table>
			</div>
			<div class='list list-filter hidden'>
				<table>
					{label if $searchUserInfo.answer<1}
						<tr height='140'>
							<td>你还没有回答被采纳的问题</td>
						</tr>
					{label /if}

							{label if $searchUserInfo.answer>0}
					  	<tr>
							<th class='t1'>标题</th>
							<th>回答</th>
							<th class='t3'>更新时间</th>
						</tr>
							{label foreach from= $myAnswer item = answer}

						<tr>
							<td class='t1'>
								<a href="{label $smarty.const.__APP__}?c=show&cid={label $answer.cid}&asid={label $answer.asid}">{label $answer.content}</a><span>[{label $answer.title}]</span>
							</td>
							<td>{label $answer.answer}</td>
							<td class='t3'>{label $answer.time|date_format:"%Y/%m/%e"}</td>
						</tr>
						{label /foreach}
						{label /if}
				</table>
			</div>
		</div>
	</div>
<!--------------------中部结束-------------------->
<!-- 底部 -->
{label include file='../index/footer.html}
</body>
</html>
<!-- 底部结束 -->